package cn.touna.jss.common.entity;

import cn.touna.risk.api.entity.RequestEntity;
import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.web.multipart.MultipartFile;

/**
 * 文件请求参数基类
 * Created by wuwc on 2017/11/17.
 */
public class FileRequestEntity extends RequestEntity {

    private static final long serialVersionUID = -8910717391027400199L;

    // 处理文件的流
    @JSONField(serialize = false)
    private MultipartFile uploadFile;

    /**
     * 文件上传用此参数接收业务参数
     */
    private String bizContent;


    public String getBizContent() {
        return bizContent;
    }

    public void setBizContent(String bizContent) {
        this.bizContent = bizContent;
    }

    public MultipartFile getUploadFile() {
        return uploadFile;
    }

    public void setUploadFile(MultipartFile uploadFile) {
        this.uploadFile = uploadFile;
    }
}
